home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / a_utils / perl / msds-prl / prlnd4ds < prev    next >
Internet Message Format  |  1993-07-25  |  921b

  1. From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail)
  2. Newsgroups: comp.lang.perl
  3. Subject: DOS, 4dos and Perl
  4. Message-ID: <6JDH11w164w@cybrspc>
  5. Date: Tue, 16 Apr 91 00:10:28 CDT
  6. Organization: Villa CyberSpace, Minneapolis, MN
  7.  
  8. I don't know why I never thought of this before...
  9.  
  10. Instead of the kludgy batchfile wrapper for DOS Perl programs, 4dos
  11. users have another option. I happened across it in the 4dos TFM just
  12. now. 4dos allows you to declare other executable extensions with a
  13. simple environment variable!
  14.  
  15. I already give my Perl programs a .pl extension, so I simply had to
  16. 'set .pl=c:\mybin\perl.exe' and my Perl scripts are now automagically
  17. executable. 4dos even searches the path for the executable.
  18.  
  19. --
  20. Roy M. Silvernail --  roy%cybrspc@cs.umn.edu - OR-  cybrspc!roy@cs.umn.edu
  21.   perl -e '$x = 1/20; print "Just my \$$x! (adjusted for inflation)\n"'
  22.         [space reserved for clever quote]{mail your submissions}
  23.